<?php

namespace app\models\base;

use Yii;

/**
 * This is the model class for table "chindor_account_details".
 *
 * @property string $id
 * @property integer $account_id
 * @property integer $check_user_id
 * @property integer $activity_id
 * @property integer $status
 * @property double $cost
 * @property integer $value
 * @property integer $gold
 * @property integer $create_time
 * @property integer $last_modify
 * @property integer $disabled
 */
class AccountDetails extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'chindor_account_details';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['account_id', 'check_user_id', 'activity_id', 'status', 'value', 'gold', 'create_time', 'last_modify', 'disabled'], 'integer'],
            [['cost'], 'number']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'account_id' => 'Account ID',
            'check_user_id' => 'Check User ID',
            'activity_id' => 'Activity ID',
            'status' => 'Status',
            'cost' => 'Cost',
            'value' => 'Value',
            'gold' => 'Gold',
            'create_time' => 'Create Time',
            'last_modify' => 'Last Modify',
            'disabled' => 'Disabled',
        ];
    }
}
